﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CsRedisTest.Interfaces
{

    public class MyTransacation : ITranscationHistoryData
    {
        public MyTransacation()
        {
            
        }
        public Guid Id { get; set; }
        public decimal Amount { get; set; }

        public static ITranscationHistoryData New()
        {
            return new MyTransacation()
            {
                Id = Guid.NewGuid(),
                Amount = Guid.NewGuid().ToByteArray().First()
            };
        }
    }

}
